package com.lelefly.base.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * LeleflyApiInfo entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "lelefly_api_info", catalog = "lelefly")
public class LeleflyApiInfo implements java.io.Serializable {

	// Fields

	private String nm;
	private String phoneType;
	private String deviceId;
	private String version;
	private String phoneV;
	private String platform;

	// Constructors

	/** default constructor */
	public LeleflyApiInfo() {
	}

	/** full constructor */
	public LeleflyApiInfo(String nm, String phoneType, String deviceId,
			String version, String phoneV, String platform) {
		this.nm = nm;
		this.phoneType = phoneType;
		this.deviceId = deviceId;
		this.version = version;
		this.phoneV = phoneV;
		this.platform = platform;
	}

	// Property accessors
	@Id
	@Column(name = "nm", unique = true, nullable = false, length = 40)
	public String getNm() {
		return this.nm;
	}

	public void setNm(String nm) {
		this.nm = nm;
	}

	@Column(name = "phone_type", nullable = false)
	public String getPhoneType() {
		return this.phoneType;
	}

	public void setPhoneType(String phoneType) {
		this.phoneType = phoneType;
	}

	@Column(name = "device_id", nullable = false, length = 60)
	public String getDeviceId() {
		return this.deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	@Column(name = "version", nullable = false, length = 10)
	public String getVersion() {
		return this.version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	@Column(name = "phone_v", nullable = false, length = 20)
	public String getPhoneV() {
		return this.phoneV;
	}

	public void setPhoneV(String phoneV) {
		this.phoneV = phoneV;
	}

	@Column(name = "platform", nullable = false, length = 20)
	public String getPlatform() {
		return this.platform;
	}

	public void setPlatform(String platform) {
		this.platform = platform;
	}

}